package org.smile.db.handler;

import org.smile.collection.MapUtils;
import org.smile.db.result.QueryResult;

import java.sql.SQLException;
import java.util.Map;

/**
 * 把一行结果集处理成一个Map的实现
 * 
 * @author 胡真山
 *
 */
public class ResultMapRowHandler extends  MapRowHandler {

	protected ResultMapRowHandler() {
		//do nothing
	}

	@Override
	protected Map<String, Object> buildMap() throws SQLException {
		return MapUtils.resultMap();
	}
}
